﻿using System;
using System.Collections.Generic;

using System.Text;

namespace HZ.DrugTrade.Model.Query
{
    /// <summary>
    /// 查询用采购目录实体
    /// </summary>
    [Serializable]
    public class ProcureCatalog : IQuery
    {
        /// <summary>
        /// 商品ID
        /// </summary>
        public string GoodsID
        {
            set;
            get;
        }
        /// <summary>
        /// 规格
        /// </summary>
        public string Outlookc
        {
            set;
            get;
        }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit
        {
            set;
            get;
        }
        /// <summary>
        /// 产品材质
        /// </summary>
        public string Material
        {
            get;
            set;
        }
        /// <summary>
        /// 单位
        /// </summary>
        public string PackUnit
        {
            set;
            get;
        }
        /// <summary>
        /// 转换系数
        /// </summary>
        public int? Factor
        {
            set;
            get;
        }
        /// <summary>
        /// 包装
        /// </summary>
        public string Pack
        {
            set;
            get;
        }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string GoodsName
        {
            set;
            get;
        }
        /// <summary>
        /// 分类名
        /// </summary>
        public string SortName
        {
            set;
            get;
        }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string CompanyName_SC
        {
            set;
            get;
        }
        /// <summary>
        /// 投标企业名
        /// </summary>
        public string CompanyName_TB
        {
            set;
            get;
        }
        /// <summary>
        /// 产品ID
        /// </summary>
        public string ProductID
        {
            set;
            get;
        }
        /// <summary>
        /// 分类ID
        /// </summary>
        public string SortID
        {
            set;
            get;
        }
        /// <summary>
        /// 生产企业ID
        /// </summary>
        public string CompanyID_SC
        {
            set;
            get;
        }
        /// <summary>
        /// 父分类ID
        /// </summary>
        public string ParentSortID
        {
            set;
            get;
        }

        /// <summary>
        /// 投标企业ID
        /// </summary>
        public string CompanyID_TB
        {
            set;
            get;
        }


        /// <summary>
        /// 采购目录编号
        /// </summary>
        public string ProcureCatalogID
        {
            set;
            get;
        }

        /// <summary>
        /// 采购项目编号
        /// </summary>
        public string ProjectID
        {
            set;
            get;
        }

        /// <summary>
        /// 采购项目名称
        /// </summary>
        public string ProjectName
        {
            set;
            get;
        }

        /// <summary>
        /// 采购开始时间
        /// </summary>
        public DateTime? ProcureStartTime
        {
            set;
            get;
        }


        /// <summary>
        /// 采购开始时间(始于)
        /// </summary>
        public DateTime? ProcureStartTimeFrom
        {
            set;
            get;
        }

        /// <summary>
        /// 采购开始时间(止于)
        /// </summary>
        public DateTime? ProcureStartTimeTo
        {
            set;
            get;
        }

        /// <summary>
        /// 采购结束时间
        /// </summary>
        public DateTime? ProcureEndTime
        {
            set;
            get;
        }

        /// <summary>
        /// 采购结束时间(始于)
        /// </summary>
        public DateTime? ProcureEndTimeFrom
        {
            set;
            get;
        }


        /// <summary>
        /// 采购结束时间(止于)
        /// </summary>
        public DateTime? ProcureEndTimeTo
        {
            set;
            get;
        }


        /// <summary>
        /// 采购价格
        /// </summary>
        public double? ProcurePrice
        {
            set;
            get;
        }

        /// <summary>
        /// 是否启用（0否;1是）
        /// </summary>
        public bool? IsUsing
        {
            set;
            get;
        }
        /// <summary>
        /// 状态（是否流程中）（0否;1是）
        /// </summary>
        public bool? IsFlowing
        {
            set;
            get;
        }

        /// <summary>
        /// 目录来源:0正常田间;1临时采购
        /// </summary>
        public string SortSource
        {
            set;
            get;
        }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime
        {
            set;
            get;
        }

        /// <summary>
        /// 添加时间(始于)
        /// </summary>
        public DateTime? AddTimeFrom
        {
            set;
            get;
        }


        /// <summary>
        /// 添加时间(止于)
        /// </summary>
        public DateTime? AddTimeTo
        {
            set;
            get;
        }

        /// <summary>
        /// 配送企业名称
        /// </summary>
        public string CompanyNames_PS
        {
            set;
            get;
        }


        /// <summary>
        /// 配送企业ID
        /// </summary>
        public string CompanyIDs_PS
        {
            set;
            get;
        }
        /// <summary>
        /// 配送企业名称
        /// </summary>
        public string CompanyName_PS
        {
            set;
            get;
        }


        /// <summary>
        /// 配送企业ID
        /// </summary>
        public string CompanyID_PS
        {
            set;
            get;
        }
        /// <summary>
        /// 产品名称 拼音码
        /// </summary>
        public string PinyinCode { get; set; }
        /// <summary>
        /// 五笔码
        /// </summary>
        public string WBCode { get; set; }
        /// <summary>
        /// 排序字段【格式如：UserID ASC,UserName DESC, IsAdmin ASC】
        /// </summary>
        public string SortFields { get; set; }

        /// <summary>
        /// 自定义查询字段[格式: UserID = '1234' AND Name = 'Zeus2' AND ID NOT (SELECT ID FROM XX)]
        /// </summary>
        public string Append { get; set; }

        //产品类别 0非基本药物 1基本药物
        public int? IsBasicRemedy { get; set; }
        //是否内蒙基本药物 0是，1不是
        public int? IsNMJBYW { get; set; }
        //是否允许基层医疗机构采购 0允许，1不允许
        public int? IsJiCeng { get; set; }
        /// <summary>
        /// 提交状态
        /// </summary>
        public int? SubmitStatus { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public int? CheckStatus { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public string AUDITUSERNAME { get; set; }
        /// <summary>
        /// 产品类别
        /// </summary>
        public string QualityLevel { get; set; }
        public int? packcount { get; set; }//包装数量
    }
}
